#include<stdio.h>

int main(void)
{
    char s1[100],s2[100];
    int i = 0;

    gets(s1);
    gets(s2);

    for (;s2[i] != '\0';)
    {
        s1[i] = s2[i];
        i++;
    } 
    s1[i+1] = '\0';
    printf("%s",s1);
}